package com.ruoyi.project.req;

import com.ruoyi.project.domain.ProjectCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel("项目分类新增入参")
public class ProjectCategoryAddReq {
    @ApiModelProperty(value = "项目主键ID", required = true, example = "1")
    @NotNull(message = "项目ID不能为空")
    private Long projectId;

    @NotNull(message = "项目分类不能为空")
    @ApiModelProperty(value = "项目分类", required = true)
    private List<ProjectCategory> projectCategory;

    @ApiModelProperty(value = "删除项目分类id集合")
    private List<Long> ids;
}
